<template>
  <div>
    <h2>{{info}}</h2>
    <br>
    <my-child :value='info' @input="info=$event"></my-child>
    <my-child v-model='info'></my-child>
  </div>
</template>
<script>
import MyChild from '@/assets/test/mychild.vue'
export default {
  name: 'test',
  components: {
    MyChild
  },
  data () {
    return {
      info: 'hello world'
    }
  }

}
</script>
